Wiki

Clone wiki

spkgs / Partial build

In the root folder is a the script buildsteps.sh.
This script allows partial execution of build scripts.

The help text explains already the usage.

sh buildsteps.sh 
no arguments given
usage: sh buildsteps.sh ../dirname [build arguments]
    where build arguments are:
    0 .. download the source if it does not exist
    1 .. extract source (and prepare / patch it)
    2 .. run the configure / make part
    3 .. run make install part
    4 .. run fix install part
    5 .. make the package

    build arguments must be in order and make sense
    if no build arguments are given, 1 2 3 4 5 will be the default.
    good luck!

note that dependent build steps are not pulled in automatically.
If 1 (extract) has never been executed, running 2 (configure/make) will not work.

Running for example just the make install and the fix install part for the package sbbdep from the root directory looks like this:

#!

sh  buildsteps.sh sbbdep 3 4

Updated